//
//  HSBFLCell.m
//  Hxcsfw
//
//  Created by 企友软mac on 2018/6/19.
//  Copyright © 2018年 企友软mac. All rights reserved.
//

#import "HSBFLCell.h"

@implementation HSBFLCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)btnClick:(UIButton *)sender {
    if (sender.tag == 0) {
        [WShareUtil sharedData].AnswerSortListLevel1 = @"tech";
        [WShareUtil sharedData].AnswerSortListLevel2 = @"sb";
        [WShareUtil sharedData].AnswerSortListLevel3 = @"zcdl";
        [WShareUtil sharedData].AnswerSortNavTitle = @"注册登录";
    }else if (sender.tag == 1) {
        [WShareUtil sharedData].AnswerSortListLevel1 = @"tech";
        [WShareUtil sharedData].AnswerSortListLevel2 = @"sb";
        [WShareUtil sharedData].AnswerSortListLevel3 = @"bbtb";
        [WShareUtil sharedData].AnswerSortNavTitle = @"报表填报";
    }else if (sender.tag == 2) {
        [WShareUtil sharedData].AnswerSortListLevel1 = @"tech";
        [WShareUtil sharedData].AnswerSortListLevel2 = @"sb";
        [WShareUtil sharedData].AnswerSortListLevel3 = @"sbhz";
        [WShareUtil sharedData].AnswerSortNavTitle = @"申报回执";
    }else if (sender.tag == 3) {
        [WShareUtil sharedData].AnswerSortListLevel1 = @"tech";
        [WShareUtil sharedData].AnswerSortListLevel2 = @"sb";
        [WShareUtil sharedData].AnswerSortListLevel3 = @"bbdy";
        [WShareUtil sharedData].AnswerSortNavTitle = @"报表打印";
    }else if (sender.tag == 4) {
        [WShareUtil sharedData].AnswerSortListLevel1 = @"tech";
        [WShareUtil sharedData].AnswerSortListLevel2 = @"sb";
        [WShareUtil sharedData].AnswerSortListLevel3 = @"skjn";
        [WShareUtil sharedData].AnswerSortNavTitle = @"税款缴纳";

    }else if (sender.tag == 5) {
        [WShareUtil sharedData].AnswerSortListLevel1 = @"tech";
        [WShareUtil sharedData].AnswerSortListLevel2 = @"sb";
        [WShareUtil sharedData].AnswerSortListLevel3 = @"ppdk";
        [WShareUtil sharedData].AnswerSortNavTitle = @"普票代开";
    }else if (sender.tag == 6) {
        [WShareUtil sharedData].AnswerSortListLevel1 = @"tech";
        [WShareUtil sharedData].AnswerSortListLevel2 = @"sb";
        [WShareUtil sharedData].AnswerSortListLevel3 = @"zpdk";
        [WShareUtil sharedData].AnswerSortNavTitle = @"专票代开";
    }else if (sender.tag == 7) {
        [[NSNotificationCenter defaultCenter] postNotificationName:@"HWenBaMoreNotification" object:nil];
        return;
    }
    [[NSNotificationCenter defaultCenter] postNotificationName:@"HWenBaNotification" object:nil];
}

@end
